import { configureStore } from '@reduxjs/toolkit';
import counterReducer from './reducers/counterSlice';
import userReducer from './reducers/userSlice';
import teamReducer from './reducers/teamSlice';
import matchReducer from './reducers/matchSlice';
import playerReducer from './reducers/playerSlice';

export const store = configureStore({
  reducer: {
    counter: counterReducer,
    user: userReducer,
    teams: teamReducer,
    matches: matchReducer,
    players: playerReducer,
  },
});

export default store;
